const Mock = require('mockjs')

module.exports = () => Mock.mock({
  "list|10": [{
    "type|1": [{
      code: 1,
      title: '已支付'
    },{
      code: 2,
      title: '待支付'
    },{
      code: 3,
      title: '已取消'
    },{
      code: 4,
      title: '已退款'
    }],
    "startTime": "@time",
    "endTime": "@time",
    "startCity": "@city",
    "endCity": "@city",
    "name": "@cname",
    "price": "@integer(10, 1000)",
    "id": "@id"
  }]
})